Category: Geeks r Us
Hey everyone,
I am trying to set up Apache HTTP Server 2.2.6 on a Windows XP SP2 machine, and I have already forwarded the necessary ports in my router. However, whenever I try to start the server, I get something resembling the following:
(os10048): Only one usage of each network address is normally permitted.
Make_Soc: Could not bind to 0.0.0.0:80.
What's happening? I checked the httpd.conf file, and I don't see anything that could be wrong there.
hello, sorry if this is totally wrong grin i've had no experience here. it sounds like there is a problem opening or using port 80, but that's as far as my knowledge goes. maybe you have to unblock apache in a firewall or similar thing? hope this helps some!
I already forwarded ports 80 (HTTP) and 443 (HTTPS) in my D-link DI-614+ router, but I might check the firewall section.
If you're using skype, uncheck the box in options/connection that says use ports 80 and 443 for alternative incoming connections.
Otherwise, run netstat -ab and see what's taking up those ports and tweak it. Apache might already be running as a service.
Thanks for that, I did both. Netstat -a -b was reporting many things in c:/windows/system32, and it also reported skype.exe. I did not combine the command with -v. My command looked like this:
In the Run box, I typed cmd.
At the command prompt, I typed:
netstat -a -b
and it returned the information I needed.
port forwarding isn't the problem because even ifit was he would still be able to htp to local host.
I kno its kinda the easy way out, but have you looked at wamp? by default its gonna install php and mysql ontop of apache, but I think you can tell it not to.
Wamp = very big resource hog with everything installed though and its not really sooted for a production setup.